Profile

public interface Profile

A profile allows keeping all browser info separately, like history, proxy settings, spellchecker configurations.

For working with this info each profile provides different services such as plugins, spellchecker configurations, cookie store, etc.

Profiles are managed by the separate engine service.

The default profile is initialized when the engine is created. It can not be removed.

Any attempt to use an already removed profile or profile whose engine is closed will lead to the IllegalStateException.

Functions

Link copied to clipboard
public abstract List<Browser> browsers()
Returns an immutable list of alive Browser instances including child popup browsers for this profile or an empty list if the profile does not have any alive Browser.
Link copied to clipboard
public abstract CookieStore cookieStore()
Returns the cookie store that allows managing cookies.
Link copied to clipboard
public abstract CreditCards creditCards()
Returns a service that allows managing credit cards.
Link copied to clipboard
public abstract Downloads downloads()
Returns a service that allows managing downloads.
Link copied to clipboard
public abstract Engine engine()
Returns the engine for this profile.
Link copied to clipboard
public abstract Extensions extensions()
Returns a service for working with extensions.
Link copied to clipboard
public abstract HttpAuthCache httpAuthCache()
Returns a service for working with HTTP authentication cache.
Link copied to clipboard
public abstract HttpCache httpCache()
Returns a service for working with HTTP cache.
Link copied to clipboard
public abstract boolean isDefault()
Returns true if this profile is default.
Link copied to clipboard
public abstract boolean isIncognito()
Returns true if this profile is in incognito mode.
Link copied to clipboard
public abstract MediaCasting mediaCasting()
Returns a service that provides access to all the required media casting services.
Link copied to clipboard
public abstract String name()
Returns a name of this profile.
Link copied to clipboard
public abstract Network network()
Returns a service that allows working with network.
Link copied to clipboard
public abstract Browser newBrowser()
Creates a new Browser instance under this profile and navigates it to the "about:blank" web page within the defaultTimeout.
Link copied to clipboard
public abstract PasswordStore passwordStore()
Returns a service for working with the password store.
Link copied to clipboard
public abstract String path()
Returns a system path to the folder with the profiles`s info.
Link copied to clipboard
public abstract Permissions permissions()
Returns a service that allows managing permissions.
Link copied to clipboard
public abstract Plugins plugins()
Returns a service that allows configuring plugins.
Link copied to clipboard
public abstract ProfilePreferences preferences()
Returns the preferences for this profile.
Link copied to clipboard
public abstract Proxy proxy()
Returns a service that allows working with proxy.
Link copied to clipboard
public abstract SpellChecker spellChecker()
Returns a service that allows working with spell checking functionality.
Link copied to clipboard
Returns a service that allows managing the user data profiles.
Link copied to clipboard
public abstract ZoomLevels zoomLevels()
Returns a service that allows working with zoom.